package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zwps.biz.dal.constant.TableNameConstant;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@TableName(TableNameConstant.FILE_RECORD_BIZ)
@Getter
@Setter
@NoArgsConstructor
public class FileRecordBizDO {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 文件ID
     */
    private String fileId;

    /**
     * 业务表
     */
    private String bizTable;

    /**
     * 业务表的文件记录设置表id（file_record_biz_setting）
     */
    private String bizSettingId;

    /**
     * 业务数据ID
     */
    private String bizId;

    public FileRecordBizDO(String fileId, String bizTable, String bizId) {
        super();
        this.fileId = fileId;
        this.bizTable = bizTable;
        this.bizId = bizId;
    }

}